package com.example.blog.dto.announcement;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class AdminSelectAnnouncementDto {
    private String condition; //其他描述
    @Min( value = 1,message = "下标错误" )
    @NotNull(message = "下标不能为空")
    private Integer index;//第几页
    private String dateTime;//发布时间
    private Integer page; //每页·显示数
    private String title;//公告标题
}
